package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.dto.GamePlayerCashOrderDTO;
import com.ayf.payment.game.api.dto.SumGamePlayerCashOrderDTO;
import com.ayf.payment.game.api.dto.criteria.GameOrderCriteria;
import com.ayf.payment.game.api.dto.criteria.GameOrderPageCriteria;
import com.ayf.payment.game.api.dto.criteria.GamePlayerCashOrderStatisticsCriteria;
import com.ayf.payment.game.api.dto.response.GamePlayerCashOrderStatisticsDTO;
import com.ayf.payment.game.api.entity.GamePlayerCashOrder;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface GamePlayerCashOrderMapper extends Mapper<GamePlayerCashOrder> {

    List<GamePlayerCashOrderDTO> list(@Param("cri") GameOrderPageCriteria criteria);
    List<GamePlayerCashOrderDTO> listexport(@Param("cri") GameOrderCriteria criteria);

    void delByList(@Param("cri") GameOrderCriteria criteria);

    SumGamePlayerCashOrderDTO getSum(@Param("cri") GameOrderCriteria criteria);

    GamePlayerCashOrderStatisticsDTO dayStatisticsSum(@Param("cri")GamePlayerCashOrderStatisticsCriteria criteria);
    List<GamePlayerCashOrderStatisticsDTO> dayStatisticsList(@Param("cri")GamePlayerCashOrderStatisticsCriteria criteria);
}